package com.aaa.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * Table: ums_member_receive_address
 */
@Data
public class UmsMemberReceiveAddress implements Serializable {
    /**
     * Table:     ums_member_receive_address
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     ums_member_receive_address
     * Column:    member_id
     * Nullable:  true
     */
    private Long memberId;

    /**
     * 收货人名称
     *
     * Table:     ums_member_receive_address
     * Column:    name
     * Nullable:  true
     */
    private String name;

    /**
     * Table:     ums_member_receive_address
     * Column:    phone_number
     * Nullable:  true
     */
    private String phoneNumber;

    /**
     * 是否为默认
     *
     * Table:     ums_member_receive_address
     * Column:    default_status
     * Nullable:  true
     */
    private Integer defaultStatus;

    /**
     * 邮政编码
     *
     * Table:     ums_member_receive_address
     * Column:    post_code
     * Nullable:  true
     */
    private String postCode;

    /**
     * 省份/直辖市
     *
     * Table:     ums_member_receive_address
     * Column:    province
     * Nullable:  true
     */
    private String province;

    /**
     * 城市
     *
     * Table:     ums_member_receive_address
     * Column:    city
     * Nullable:  true
     */
    private String city;

    /**
     * Table:     ums_member_receive_address
     * Column:    region
     * Nullable:  true
     */
    private String region;

    /**
     * 详细地址(街道)
     *
     * Table:     ums_member_receive_address
     * Column:    detail_address
     * Nullable:  true
     */
    private String detailAddress;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_member_receive_address
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getDefaultStatus() {
        return defaultStatus;
    }

    public void setDefaultStatus(Integer defaultStatus) {
        this.defaultStatus = defaultStatus;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}